package com.chixing.day02;

/**
 * @author Y2014188432
 */
public class ContainerTest {
    public static void main(String[] args) {
        MyContainer container = new MyContainer(3,2);
        int $qwe  = 3;
        container.add(10);
        container.add(20);

        container.display();
        System.out.println();

        container.add(30);
        container.add(40);
        container.add(50);
        container.display();
        System.out.println();
        container.add(10);
        container.add(20);
        container.add(30);

        container.display();
        System.out.println();

        container.add(40);
        container.display();
        System.out.println();
        container.add(404,1);
        container.add(505,3);
        container.display();

    }
}
